Skip to content

Conversation

@LucienStorm
Copy link

Hopefully I've cleared all of the issues.

LucienStorm and others added 4 commits October 9, 2025 22:39
A watchface inspired by some popular cartoon characters.
to follow the usual style for apps in the espruino/BangleApps repo.
... to follow the standard for the espruino/BangleApps repo.
@thyttan
Copy link
Collaborator

thyttan commented Oct 14, 2025

@bobrippling could you take a look at the checker output? Something is going wrong:

TypeError: app.tags.split is not a function
    at /home/runner/work/BangleApps/BangleApps/bin/sanitycheck.js:209:37
    at Array.forEach (<anonymous>)
    at Object.<anonymous> (/home/runner/work/BangleApps/BangleApps/bin/sanitycheck.js:197:6)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
    at node:internal/main/run_main_module:28:49

@RKBoss6
Copy link
Contributor

RKBoss6 commented Oct 14, 2025

Ah, I think in metadata.json tags: is not an array, just a string, eg: "clock". The checker doesn't know how to split the array, since it should be a string. Hope that helps!

removed clock array brackets
Copy link
Author

@LucienStorm LucienStorm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metadata file updated

Copy link
Author

@LucienStorm LucienStorm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Settings, metadata, and app-icon all updated

@bobrippling
Copy link
Collaborator

Yeah that was it - LGTM but will let you finish your review if you like @thyttan

@thyttan
Copy link
Collaborator

thyttan commented Oct 18, 2025

You're close now 😉 : https://github.com/espruino/BangleApps/actions/runs/18608508358/job/53074607304#step:5:8

So add icon for the app loader and launchers and we're probably good to go.

Tried different settings on the image compression
Copy link
Author

@LucienStorm LucienStorm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tried different settings on the app icon image compression. Hopefully this passes

@RKBoss6
Copy link
Contributor

RKBoss6 commented Oct 18, 2025

You'll also need an app.png file with the icon of the app, not ported to JS. The js icon is for the watch to display it in launchers, and the .png icon is for the app loader. So adding a app.png file with the png version of the app icon in app-icon.js will make this good to go!

@LucienStorm
Copy link
Author

app

@LucienStorm
Copy link
Author

I'm going to cancel this pull request and start another with that file. I'm not sure if there's any other way to add a file to a current commit.

@thyttan
Copy link
Collaborator

thyttan commented Oct 22, 2025

I'm going to cancel this pull request and start another with that file. I'm not sure if there's any other way to add a file to a current commit.

How do you develop the app. Do you use the github web interface or do you use git locally on your machine and do push/pull to github?

In either case - if you add commits to the PR branch (LucienStorm:master for this one) those commits will show up on the PR automatically. That way we get a continuous thread working towards merging your contribution. 👍

@RKBoss6
Copy link
Contributor

RKBoss6 commented Oct 22, 2025

Yeah, adding files is also possible in an open PR as well :)

Just keep it in mind for next time...

@LucienStorm
Copy link
Author

That's good to know, I'm just starting to actually use GitHub in this way, so I don't know the proper procedures.
I also have been unable to find the place that says more than 'failed' so I can see exactly why it failed.

@LucienStorm
Copy link
Author

I've been using the web page to upload.

Sorry for the confusion I've caused.

I'm going to cancel this pull request and start another with that file. I'm not sure if there's any other way to add a file to a current commit.

How do you develop the app. Do you use the github web interface or do you use git locally on your machine and do push/pull to github?

In either case - if you add commits to the PR branch (LucienStorm:master for this one) those commits will show up on the PR automatically. That way we get a continuous thread working towards merging your contribution. 👍

@thyttan
Copy link
Collaborator

thyttan commented Oct 22, 2025

It's par for the course when starting out - thanks for contributing! :)

I've been using the web page to upload.

Ok. So like said above if you modify or add files to a branch that's connected to a PR they will keep in sync.

Also if you want to develop several apps in parallell I engourage you to look into using different branches. Then you can open PR's from different branches to keep things separated. That will help you and us maintainers both :)

Here is documentation from github on branches: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-branches

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants